package com.moyun.common.enums;

import com.moyun.common.annotation.Desensitized;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Student {
    String name;
    @DateTimeFormat
    Date born;
    double score;
    private boolean exists;

    @Desensitized(type = SensitiveTypeEnum.CHINESE_NAME)
    private String chinaName;
    @Desensitized(type = SensitiveTypeEnum.MOBILE_PHONE)
    private String moble_phone;
    private String carNumber;
}